Reply to Xcode 11 Command PhaseScriptExecution failed with a nonzero exit code I know this looks strange, but check your Mac storage space. If you are missing space, Xcode reports a lot of different errors, but most of the time it doesn't report that disk space is low. Developer Tools & Services Xcode Aug ’23